<layout name="layout" />

<div class="main-div">
    <form name="main_form" method="POST" action="__SELF__" enctype="multipart/form-data" >
    	<input type="hidden" name="id" value="<?php echo $data['id']; ?>" />
		<input type="hidden" name="old_image" value="<?php echo $data['image']; ?>" />
		<input type="hidden" name="old_big_image" value="<?php echo $data['big_image']; ?>" />
		<input type="hidden" name="old_mid_image" value="<?php echo $data['mid_image']; ?>" />
		<input type="hidden" name="old_sm_image" value="<?php echo $data['sm_image']; ?>" />
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">活动的id：</td>
                <td>
                    <input  type="text" name="act_id" value="<?php echo $data['act_id']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">图片1：</td>
                <td>
                	<input type="file" name="image" /><br /> 
                	<?php showImage($data['image'], 100); ?>                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>
</div>
<script>
</script>